.upload {
    width: 100%;
    border: 1px solid #bbb;
    border-radius: 4px;
    padding: 5px;
    transition: border .3s;
}

.upload:hover{
    border: 1px solid #999;
}

.upload input[type=file] {
    width: 0;
    height: 0;
    opacity: 0;
}

.upload .file-name>div {
    height: 21px;
}

.upload .file-name>div>span {
    display: inline-block;
    max-width: 70%;
    
    /* 单行文本溢出打点 */
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}